package com.jade.store.pay.entity;

import com.jade.bss.db.IdEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 *  微信支付订单
 * User: JinYa 2009_jinya@163.com
 * Date: 2016-11-2
 * Time: 14:51
 * Version : 1.0
 * Remark:
 * History:
 */
@Entity
@Table(name = "STORE_PAY_ORDER_DETAIL")
public class PayOrderDetail extends IdEntity {
    // 商品编号(国标)
    private String goodsId;

    private String alipayGoodsId;

    // 商品名称
    private String goodsName;

    // 商品数量
    private int quantity;

    // 商品价格，此处单位为元，精确到小数点后2位
    private long price;

    // 商品类别
    private String goodsCategory;

    // 商品详情
    private String body;

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getAlipayGoodsId() {
        return alipayGoodsId;
    }

    public void setAlipayGoodsId(String alipayGoodsId) {
        this.alipayGoodsId = alipayGoodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public long getPrice() {
        return price;
    }

    public void setPrice(long price) {
        this.price = price;
    }

    public String getGoodsCategory() {
        return goodsCategory;
    }

    public void setGoodsCategory(String goodsCategory) {
        this.goodsCategory = goodsCategory;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }
}
